package springfixture.results;

import fit.Parse;
import fitnesse.fixtures.TableFixture;

public class WrongResult extends Result {

    private String text;

    public WrongResult(TableFixture tableFixture, String text) {
        super(tableFixture);
        this.text = text;
    }

    public void render(Parse cell) {
        tableFixture.wrong(cell, text);
    }

}